package batch1.spring;

public class HelloWorldImpl implements HelloWorld {
	
	private String message;
	public HelloWorldImpl(String message){
		this.message=message;
	}
	
	@Override
	public String sayHello() {

		return message;
	}
	
	@Override
	public String sayHello(String name) {

		return message+ name;
	}

}
